package a.f.d.a;

import java.util.Comparator;

public class vc
  implements Comparable, l.j_
{
  private Object a;
  private Comparator c;
  private double d;
  private double e;
  private double f;
  private double g;
  private int h = -1;
  private double i;
  private double j;
  private boolean k = true;
  public static boolean l;
  
  public vc(Comparable paramComparable)
  {
    if (!d.R)
    {
      if (paramComparable == null) {
        throw new NullPointerException();
      }
      this.a = paramComparable;
      this.c = null;
    }
  }
  
  public vc(Object paramObject, Comparator paramComparator)
  {
    if (!d.R) {
      if (paramObject == null) {
        throw new NullPointerException();
      }
    }
    if ((!(paramObject instanceof Comparable)) && (paramComparator == null)) {
      throw new NullPointerException();
    }
    this.a = paramObject;
    this.c = paramComparator;
  }
  
  public boolean a()
  {
    return this.k;
  }
  
  public void a(boolean paramBoolean)
  {
    this.k = paramBoolean;
  }
  
  public void a(Object paramObject)
  {
    if (!d.R) {
      if ((d() == null) && (!(paramObject instanceof Comparable))) {
        throw new IllegalArgumentException("Object must be Comparable if no comparator is set!");
      }
    }
    this.a = paramObject;
  }
  
  public Object b()
  {
    return this.a;
  }
  
  public void a(double paramDouble)
  {
    if ((d.R) || ((paramDouble < 0.0D) || (paramDouble > 1.0D))) {
      throw new IllegalArgumentException();
    }
    this.j = paramDouble;
  }
  
  public double c()
  {
    return this.j;
  }
  
  public void a(Comparator paramComparator)
  {
    if (paramComparator == null) {
      throw new NullPointerException();
    }
    this.c = paramComparator;
  }
  
  public Comparator d()
  {
    return this.c;
  }
  
  public double e()
  {
    return this.d;
  }
  
  public void b(double paramDouble)
  {
    if (paramDouble < 0.0D) {
      throw new IllegalArgumentException();
    }
    this.d = paramDouble;
  }
  
  public double f()
  {
    return this.e;
  }
  
  public double g()
  {
    return this.f;
  }
  
  public void c(double paramDouble)
  {
    if (paramDouble < 0.0D) {
      throw new IllegalArgumentException();
    }
    this.e = paramDouble;
  }
  
  public void d(double paramDouble)
  {
    if (paramDouble < 0.0D) {
      throw new IllegalArgumentException();
    }
    this.f = paramDouble;
  }
  
  void e(double paramDouble)
  {
    this.i = paramDouble;
  }
  
  public double h()
  {
    return this.i;
  }
  
  void f(double paramDouble)
  {
    this.g = paramDouble;
  }
  
  public double i()
  {
    return this.g;
  }
  
  void a(int paramInt)
  {
    this.h = paramInt;
  }
  
  public int j()
  {
    return this.h;
  }
  
  public int compareTo(Object paramObject)
  {
    vc localvc = (vc)paramObject;
    Comparator localComparator = d();
    if (!d.R) {
      if (localComparator == null) {
        return ((Comparable)b()).compareTo(localvc.b());
      }
    }
    return localComparator.compare(b(), localvc.b());
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.f.d.a.vc

 * JD-Core Version:    0.7.0.1

 */